using Microsoft.AspNetCore.Identity;

namespace Identity.Infrastructure.Entities
{
    public class ApplicationUser : IdentityUser<Guid>
    {
        // 认证相关字段由 Identity 管理（用户名、密码哈希、Email 等）
        public DateTime CreatedAt { get; set; } = DateTime.UtcNow;

        public IList<string> Roles { get; set; } = new List<string>();
        public ICollection<UserRoleEntity> UserRoles { get; set; } = new List<UserRoleEntity>();
    }
}